"""
修改
语法：
 列表名[要修改的索引]="要修改的值"
"""
list1 = ["张三", "李四", "王五"]   #获取列表1索引所对应的值list1[2]
list1[2]="赵六"  #修改
print(list1)


list2=["张飞","刘备","关羽","刘邦","刘老二","曹操"]
list2[-2]="周瑜"
print(list2)









